﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;


namespace ProjetoComperio.DataLayer.Entities
{
    public class Proposal
    {
        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        [DisplayName("ID da proposta")]
        public virtual int ProposalID { get; set; }

        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        [DisplayName("Título")]
        public virtual String Title { get; set; }

        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        [DisplayName("Descrição")]
        public virtual String Description { get; set; }

        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        [DisplayName("ID Pessoa Academica")]
        public virtual Int32 AcademicPersonID { get; set; }
    }
}
